Vue.component('user-address-create-and-edit',{
    data(){
        return {
            province:'',
            city:'',
            district:'',
        };
    },
    methods:{
        setAddress(val){
            if(val.length === 3){
                this.province=val[0];
                this.city=val[1];
                this.district=val[2];
            }
        }
    }
});
